package work.Work6;

 class Dog extends Animal implements Swim{
     public Dog() {
         super();
     }
     public Dog(int age) {
         super(age);
     }
     @Override
     public void eat() {
         System.out.println("狗啃骨头");
     }
     @Override
     public void swiming() {
         System.out.println("狗会狗刨游泳");
     }
}
